<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Article>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <% 
        Html.EnableClientjQueryValidation();
        //if (!Model.CategoryReference.IsLoaded) Model.CategoryReference.Load();
    %>
    <%-- <div style="display: block;">
        <%:Ajax.Crumb((new CategoryNodeProvider()), Model.Category.ID.ToString(), "Edit " + Model.Title)%>
    </div>--%>
    <div class="ui-corner-top ui-widget-content" style="clear: left; margin-top: 10px;
        margin-right: 5px; margin-left: 5px;">
        <div class="ui-widget-header ui-corner-top" style="padding: 10px; border-top: none;
            border-left: none; border-right: none;">
            <h1 style="overflow: auto;">
                <img style="float: left;" src="<%:Url.Content("~/Content/Images/edit_page_48x48.png") %>"
                    alt="" /><span style="float: left; margin-top: 10px; margin-left: 5px;">
                        <%: Html.Global("RES_EDIT") %>:
                        <%=Model.Title%></span>
            </h1>
        </div>
        <%
            using (Html.BeginForm())
            {%>
        <%:Html.AntiForgeryToken() %>
        <% Html.RenderPartial("PostForm", ViewData); %>
        <%} %>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <%:Html.ScriptRefs(new string[] { "jquery.validate.min.js", "MicrosoftMvcJQueryValidation.js" })%>
</asp:Content>
